package com.xiangban.yanglaodajie_platform.controller;

import com.xiangban.yanglaodajie_platform.entity.ClassifyGoods;
import com.xiangban.yanglaodajie_platform.entity.res.ApiResult;
import com.xiangban.yanglaodajie_platform.service.ClassifyGoodsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/4/19 16:49
 */
@RestController
@RequestMapping("/api/pub/classify_goods")
@Api(tags = "商品分类")
public class ClassifyGoodsController {

    @Autowired
    private ClassifyGoodsService classifyGoodsService;


//    @PostMapping("/getPageClassifyGoods")
//    @ApiModelProperty("获取分类")
//    public ApiResult<Object> getClassifyGoods(@RequestBody ClassifyGoods classifyGoods){
//        classifyGoodsService.getClassifyGoods(classifyGoods);
//    }

}
